package com.yzd.xander.service.impl;

import com.yzd.xander.dao.GroupDataDao;
import com.yzd.xander.entity.Group;
import com.yzd.xander.service.GroupDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by YE on 2018-06-07.
 */
@Service("groupDataService")
public class GroupDataServiceImpl implements GroupDataService {

    @Autowired
    private GroupDataDao groupDataDao;

    @Override
    public List<Group> getByQQ(int QQNum) {
        return groupDataDao.getByQQ(QQNum);
    }

    @Override
    public List<Group> getByQun(int Qun) {
        return groupDataDao.getByQun(Qun);
    }

}
